package com.jiangfeixiang.springbootswgger2api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author smfx1314
 * EnableTransactionManagement:事务
 * EnableCaching:缓存
 * MapperScan：死奥妙mapper接口
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching
@MapperScan("com.jiangfeixiang.springbootswgger2api.mapper")
public class SpringbootSwgger2ApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootSwgger2ApiApplication.class, args);
	}
}
